package com.drojian;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.graphics.Insets;
import androidx.core.view.ViewCompat;
import androidx.core.view.WindowInsetsCompat;

public class MainActivity extends AppCompatActivity {
    private Button baseUse, btRecyclerView, exchange;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        baseUse = findViewById(R.id.bt_base_use);
        btRecyclerView = findViewById(R.id.bt_recycler_view);
        exchange = findViewById(R.id.bt_exchange);
        baseUse.setOnClickListener(v -> {
            startActivity(new Intent(MainActivity.this, GlideBaseActivity.class));
        });
        btRecyclerView.setOnClickListener(v -> {
            startActivity(new Intent(MainActivity.this, GlideRecyclerViewActivity.class));
        });
        exchange.setOnClickListener(v -> {
            startActivity(new Intent(MainActivity.this, GlideTransformationActivity.class));
        });

    }

}